package com.lifp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "sys_permission")
public class SysPermission implements Serializable {
    /**
     * 权限ID
     */
    @TableId(value = "permission_id", type = IdType.AUTO)
    private Integer permissionId;

    @TableField(value = "parent_id")
    private Integer parentId;

    @TableField(value = "permission_desc")
    private String permissionDesc;

    @TableField(value = "permission_code")
    private String permissionCode;

    @TableField(value = "url")
    private String url;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "del_flag")
    private String delFlag;

    private static final long serialVersionUID = 1L;
}